package org.yzz.base.exception;

/**
 * 响应信息枚举类
 */
public enum ResponseCode {
    RESPONSE_CODE_200(200,"操作成功!"),
    RESPONSE_CODE_400(400,"参数错误!"),
    RESPONSE_CODE_4010(4010,"两次密码不一致,请检查后重新提交!"),
    RESPONSE_CODE_4012(4012,"该店铺名称已存在,请重新输入!"),
    RESPONSE_CODE_4013(4013,"内容存在非法信息!请及时修改"),
    RESPONSE_CODE_4014(4014,"老铁，你不选中数据，臣妾上架不了啊...."),
    RESPONSE_CODE_4015(4015,"老铁，你不选中数据，臣妾下架不了啊...."),
    RESPONSE_CODE_4016(4016,"老铁，选挺好啊，一个能上架的都没有"),
    RESPONSE_CODE_40011(40011,"两次密码不一致!"),
    RESPONSE_CODE_40017(40017,"图片验证码输入错误,请检查后重新提交!"),
    RESPONSE_CODE_40018(40018,"图片验证码已过期,请重新获取!"),
    RESPONSE_CODE_40019(40019,"该手机号已注册,请直接登录!"),
    RESPONSE_CODE_40020(40020,"请不要频繁发送手机验证码!"),
    RESPONSE_CODE_40021(40021, "手机验证码输入错误，请重新输入！！！"),
    RESPONSE_CODE_40022(40022, "用户名或邮箱已存在，请重新输入！！！"),
    RESPONSE_CODE_40023(40023, "账号或密码错误，请重新输入！！！"),
    RESPONSE_CODE_40025(40025,"该手机号已绑定, 请直接登录"),
    RESPONSE_CODE_40030(40030, "用户不存在，请登录后再试！！！"),
    RESPONSE_CODE_40031(40031, "手机号不能为空！！！"),
    RESPONSE_CODE_4011(4011,"参数非空异常"),
    RESPONSE_CODE_500(500,"网络异常!请稍后重试!");

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}

